<div class="hyc-menu">
    <ul class="padding-left0">
        <li ng-click="menu.dropDown(m.id)" ng-if="m.list.length <= 0" ng-class="{true: 'active'}[m.active]" ng-repeat="m in menu.list track by $index" class="padding-left15">
            <div class="item">
                <i class="{{'fa fa-' + m.icon}}"></i>&nbsp;
                <a ng-href="{{'#'+ m.href}}">{{m.title}}</a>
            </div>
        </li>
        <li ng-if="m.list.length > 0" class="hyc-menu-container" ng-repeat="m in menu.list track by $index">
            <div class="sub-menu-container" ng-click="menu.parentDropDown(m.id, m.dropDown)" style="padding-left: 25px;">
                <i class="{{'fa fa-' + m.icon}}"></i>&nbsp;
                {{m.title}}
            </div>
            <ul class="drop-init-down" ng-class="{true: 'drop-down'}[m.dropDown]">
                <li  ng-click="menu.dropDown(sub.id, m.id)" ng-repeat="sub in m.list track by $index" ng-class="{true: 'active'}[sub.active]" class="padding-left15">
                    <div class="item">
                        <i class="{{'fa fa-' + sub.icon}}"></i>&nbsp;
                        <a ng-href="{{'#' + sub.href}}">{{sub.title}}</a>
                    </div>
                </li>
            </ul>
        </li>
    </ul>
</div>